package com.cqjtu.eecs.entity.params.project;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

@Data
@ToString
@EqualsAndHashCode
public class ProjectUpdateParams {

    @NotNull(message="年级不可为空")
    @ApiModelProperty(value = "年级")
    private Integer grade;

    @NotBlank(message="专业代码不可为空")
    @ApiModelProperty(value = "专业代码")
    @Size(max = 6,min = 6)
    private String majorCode;

    @NotBlank(message="版本编号不可为空")
    @ApiModelProperty(value = "版本编号")
    private String versionCode;

    @ApiModelProperty(value = "版本名称")
    private String versionName;

    @NotNull(message="毕业学分不可为空")
    @ApiModelProperty(value = "毕业学分")
    private BigDecimal graduateCredit;

    @ApiModelProperty(value = "培养目标概述")
    private String trainingGoalBrief;

    @ApiModelProperty(value = "基本学制")
    private Integer basicYear;
}
